package com.tvunetworks.center.device.model.router;

import com.tvunetworks.center.gs.model.BatteryInfo;

import java.io.Serializable;
import java.util.List;

/**
 * @program: tvucc-aggregator
 * @author lebronchen
 * @create: 2020-03-13 08:25
 **/
public class Peer implements Serializable {
    private static final long serialVersionUID = -7417157950317316019L;
    //peer attrubite
    private String peerId;
    private String name;
    private String connected;
    private String connectedTimeInSeconds;
    private String receivedSourcePacketsNum;
    private String receivedRepairPacketsNum;
    private String receivedBytesInSession;
    private String sentBytesInSession;
    private String sentBitsPerSecond;
    private String receivedBitsPerSecond;
    //battery
    private BatteryInfo batteryInfo;
    //connections
    private List<Connection> connectionList;
    //clients
    private List<Client> clientList;
    //json 标志
    private String type;
    private String module;
    private String platform;
    private String status;




    public String getPeerId() {
        return peerId;
    }

    public void setPeerId(String peerId) {
        this.peerId = peerId;
    }

    public String getConnected() {
        return connected;
    }

    public void setConnected(String connected) {
        this.connected = connected;
    }

    public String getConnectedTimeInSeconds() {
        return connectedTimeInSeconds;
    }

    public void setConnectedTimeInSeconds(String connectedTimeInSeconds) {
        this.connectedTimeInSeconds = connectedTimeInSeconds;
    }

    public String getReceivedSourcePacketsNum() {
        return receivedSourcePacketsNum;
    }

    public void setReceivedSourcePacketsNum(String receivedSourcePacketsNum) {
        this.receivedSourcePacketsNum = receivedSourcePacketsNum;
    }

    public String getReceivedRepairPacketsNum() {
        return receivedRepairPacketsNum;
    }

    public void setReceivedRepairPacketsNum(String receivedRepairPacketsNum) {
        this.receivedRepairPacketsNum = receivedRepairPacketsNum;
    }

    public String getReceivedBytesInSession() {
        return receivedBytesInSession;
    }

    public void setReceivedBytesInSession(String receivedBytesInSession) {
        this.receivedBytesInSession = receivedBytesInSession;
    }

    public String getSentBytesInSession() {
        return sentBytesInSession;
    }

    public void setSentBytesInSession(String sentBytesInSession) {
        this.sentBytesInSession = sentBytesInSession;
    }

    public BatteryInfo getBatteryInfo() {
        return batteryInfo;
    }

    public void setBatteryInfo(BatteryInfo batteryInfo) {
        this.batteryInfo = batteryInfo;
    }

    public List<Connection> getConnectionList() {
        return connectionList;
    }

    public void setConnectionList(List<Connection> connectionList) {
        this.connectionList = connectionList;
    }

    public List<Client> getClientList() {
        return clientList;
    }

    public void setClientList(List<Client> clientList) {
        this.clientList = clientList;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSentBitsPerSecond() {
        return sentBitsPerSecond;
    }

    public void setSentBitsPerSecond(String sentBitsPerSecond) {
        this.sentBitsPerSecond = sentBitsPerSecond;
    }


    public String getReceivedBitsPerSecond() {
        return receivedBitsPerSecond;
    }

    public void setReceivedBitsPerSecond(String receivedBitsPerSecond) {
        this.receivedBitsPerSecond = receivedBitsPerSecond;
    }
}
